package com.example.backendmanage.mapper;

import com.example.backendmanage.info.UploadFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface FileMapper2 {
    List<UploadFile> findFiles(String name,String type,Integer pageNum,Integer pageSize);
    @Select("select * from sys_file")
    List<UploadFile> findAllFiles();
}
